package com.ocom.common.entity.access;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "mj_device_info")
public class EntityMjDeviceInfo extends EntityBase implements Serializable {

    private static final long serialVersionUID = -2259333477737845666L;
    @TableId(value = "device_id", type = IdType.AUTO)
    private Long deviceId;
    private Long comId;
    private String deviceNo;
    private String deviceName;
    private Long deviceMode;
    private Long areaId;
    private Long deviceType;
    private Long deviceVerType;
    private Integer openType;
    private Long status;
    private Date commTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private String faceAuthCode;
    private String appVer;
    private String appVerTab;
    private String appVerLast;
    private String osVer;
    private String osVerTab;
    private Long listDelete;
    private Long listDeleteTab;
    private Long listState;
    private Long listAdd;
    private Long listAddTab;
    @JsonFormat(pattern = "yyyyMMddHHmmss")
    private String groupVer;
    private String groupVerLast;
    private String groupVerTab;
    @JsonFormat(pattern = "yyyyMMddHHmmss")
    private String zoneVer;
    private String zoneVerTab;
    private String zoneVerLast;
    private Long rsaState;
    private Integer commMode;
    private String rsaJobid;
    private Long appJobid;
    private Long paraState;
    private String paraJobid;
    private String remark;

    private Integer ifAlarm;
    private Integer alarmTimes;
    private Integer alarmState;

}
